# For more information about build system see
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
# The following five lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)

set(IDF_TARGET esp32s3)

set(PYTHON "E:/app/Espressif/python_env/idf5.0_py3.8_env/Scripts/python.exe")
set(python "E:/app/Espressif/python_env/idf5.0_py3.8_env/Scripts/python.exe")

set(CMAKE_C_FLAGS "-O0")
set(--compile-no-warning-as-error)
#set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} $ENV{IOT_SOLUTION_PATH}/components/bluetooth")
#set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} $ENV{IOT_SOLUTION_PATH}/components/bus")
#set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} $ENV{IOT_SOLUTION_PATH}/components/sensors")
#add_subdirectory(${PROJECT_DIR}/network)
#add_subdirectory(${PROJECT_DIR}/sys_driver)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(st77903_test)

idf_build_set_property(COMPILE_OPTIONS -I${PROJECT_DIR}/components/lv_port/ APPEND)
